
<style>
   .btn:hover{
        background: #FD2D69 !important;
        color: #fff !important;
    }
</style>
<!-- 操作栏 -->
<div style="display: flex;align-items: center;justify-content: center;margin-top: 15%;">
    <a 
style="width: 60px;background: #FD2D69;color: #fff;font-size: 14px;border: 1px solid #FD2D69;padding: 2px 12px;" 
 href="{{:MyUrl('admin/orderaftersale/detail', ['oid'=>$module_data['order_id'], 'did'=>$module_data['order_detail_id']])}}" target="_blank" class="am-btn-primary am-btn-xs am-radius  btn">
    <!-- <i class="am-icon-eye"></i> -->
    <span>{{:MyLang('detail_title')}}</span>
</a>
{{if $module_data['status'] eq 1 and $module_data['type'] eq 1}}
    <a  
    style="width: 60px;background: #FD2D69;color: #fff;font-size: 14px;border: 1px solid #FD2D69;padding: 2px 12px;" 
     href="{{:MyUrl('index/orderaftersale/detail', ['oid'=>$module_data['order_id'], 'did'=>$module_data['order_detail_id'], 'isautodelivery'=>1])}}" target="_blank" class=" am-btn-primary am-btn-xs am-radius  btn">
        <!-- <i class="am-icon-send"></i> -->
        <span>{{:MyLang('retreat_goods_title')}}</span>
    </a>
{{/if}}
{{if !in_array($module_data['status'], [3,5])}}
    <button 
    style="margin-left: 10px;width: 60px;background: #FD2D69;color: #fff;font-size: 14px;border: 1px solid #FD2D69;padding: 2px 12px;"  type="button" class="am-btn-primary am-btn-xs am-radius  submit-ajax submit-cancel btn" data-url="{{:MyUrl('index/orderaftersale/cancel')}}" data-id="{{$module_data.id}}" data-view="reload">
        <!-- <i class="am-icon-paint-brush"></i> -->
        <span>{{:MyLang('cancel_title')}}</span>
    </button>
{{/if}}
</div>